<%def name="day(caption, date, birthdays)">
	<li>
		<span style="font-size:0.9em;">${caption} (${h.format_date(date)})</span>
		<ul>
			% for birthday in birthdays:
			<li><a class="homepage-block-link" href="">${birthday}</a></li>
			% endfor
		</ul>
	</li>
</%def>

<ul style="list-style:none;padding-left:0px;margin-left:8px;">
	${day(_('Yesterday'), yesterday, yesterday_birthdays)}
	${day(_('Today'), today, today_birthdays)}
	${day(_('Tomorrow'), tomorrow, tomorrow_birthdays)}
	${day(_('After tomorrow'), after_tomorrow, after_tomorrow_birthdays)}
</ul>